< previous page page_693 next page >

Page 693
Setup Toolkit Files
The setup application that the P&D Wizard creates for you consists of a few more files youll also need to include with your applications distribution disks. These files come from the Visual Basic Setup Toolkit that the P&D Wizard uses to help you distribute your application. Table 34.1 lists each of these files.
Table 34.1 Setup Files Needed for Distributing an Application.
FilenameDescription
Setup.exeAll setup programs for Windows actually run on the users computer and just pull files from a CD-ROM, network drive, or floppies as needed. The Setup.exe file is a small program the user runs to preinstall certain files to his or her machine so that another setup program can take over the job of performing the main installation. For your Visual Basic applications, the file Setup1.exe performs the actual installation procedure. Setup.exe also copies the Visual Basic runtime DLLs to the users machine so that Setup1.exe can run.
Setup1.exeThis is the main setup program that copies all the files for your application to the users hard drive. This file is a Visual Basic application to which you have the source code. The source code for this application is located in your Visual Basic folder under the PDWizard folder.
Setup.lstThis text file is what the Setup.exe and Setup1.exe files use to determine which files are copied and where the installation process is to be completed.
Vb6stkit.dllThis DLL is used only by the Setup1.exe file. This is just a library of functions used during the setup process.
St6unst.exeIf the user decides to uninstall your application, he or she will run this executable. This file takes care of removing any components from the users machine that are used only by your application.

Running the P&D Wizard
You can run the P&D Wizard in two ways: as a standalone application and as an add-in. To run the P&D Wizard as a standalone application, choose the Microsoft Visual Studio 6, Microsoft Visual Studio 6 Tools, Package & Deployment Wizard icon

 
< previous page page_693 next page >

If you like this book, buy it!